export const PAGE_CODE = 'dcs-afterSales-expenseAdjustment';
import {PAGE} from '../constants';
const EMPTY_ARRAY = [];
export const PERMISSION = {
    update: 'update',
    add: 'add',
    submit: 'submit',
    abandon: 'abandon',
    approve: 'approve',
    confirm: 'confirm',
    exportDetail: 'exportDetail',
    exportPi: 'exportPi',
    reportFinance: 'reportFinance',
    confirmPi: 'confirmPi',
    moreApprove: 'moreApprove',
};

export const DEFAULT_QUERY_OPTION = {
    code: '',
    dealerId: '',
    direction: undefined,
    status: EMPTY_ARRAY,
    sourceType: EMPTY_ARRAY,
    createTime: EMPTY_ARRAY,
    pageIndex: PAGE.index,
    pageSize: PAGE.size,
};


export const DEFAULT_SUBMIT_DATA = {
    attachments: [],
};

import {dealerType} from '../Enum';
export const dealerConditions = {
    type: dealerType.总代
};
